dev-cpp-users Mailing List for Dev-C++ (Page 89)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Alfred P. R. <al...@ya...> - 2006-02-07 18:02:37
|
Offhand, I'd recommend that you go to update.microsoft.com and try to see if there is a monitor or graphics card software update available. The other possibility is that a dos window is temporarily opening up, changing the monitor resolution, and this is what you are seeing. I've never seen this problem with Dev-C++ using a couple of different platforms and Windows versions. Matthew Link <ml...@ac...> wrote: Is there a reason why my screen would flash completely black for about one secong when starting Dev-C++? It does this as if the screen graphics settings are changing. It does this when starting the program, and when going into the tools/compiler options menu. There seems to be no other adverse effect, but this is not something that should be happening. Nothing like this happens with any other program I have. I have tried reinstalling and uninstalling with no sucess. Any ideas? Thank you. Alfred P. Reaud |
|
From: Matthew L. <ml...@ac...> - 2006-02-06 04:57:08
|
Thank you--I guess. I did sent the message to the whole list, didn't I?
----- Original Message -----=20
From: Kishan Patel=20
To: Matthew Link=20
Sent: Sunday 05 February 2006 04:36 PM
Subject: Re: [Dev-C++] Blank screen when starting Dev-C++?
for all those reasons
----- Original Message -----=20
From: Matthew Link=20
To: dev...@li...=20
Sent: Sunday, February 05, 2006 1:37 PM
Subject: Re: [Dev-C++] Blank screen when starting Dev-C++?
----- Original Message -----=20
From: Kishan Patel=20
To: Matthew Link=20
sorry
Is there a reason why my screen would flash completely black for =
about one secong when starting Dev-C++? It does this as if the screen =
graphics settings are changing. It does this when starting the program, =
and when going into the tools/compiler options menu. There seems to be =
no other adverse effect, but this is not something that should be =
happening. Nothing like this happens with any other program I have. I =
have tried reinstalling and uninstalling with no sucess. Any ideas? =
Thank you.
Do you mean that you are sorry, but you have no suggestions for my =
problem, or are you simply sorry that I have it? ;-)
|
|
From: Matthew L. <ml...@ac...> - 2006-02-05 20:38:16
|
----- Original Message -----=20
From: Kishan Patel=20
To: Matthew Link=20
sorry
Is there a reason why my screen would flash completely black for =
about one secong when starting Dev-C++? It does this as if the screen =
graphics settings are changing. It does this when starting the program, =
and when going into the tools/compiler options menu. There seems to be =
no other adverse effect, but this is not something that should be =
happening. Nothing like this happens with any other program I have. I =
have tried reinstalling and uninstalling with no sucess. Any ideas? =
Thank you.
Do you mean that you are sorry, but you have no suggestions for my =
problem, or are you simply sorry that I have it? ;-)
|
|
From: Matthew L. <ml...@ac...> - 2006-02-05 00:20:02
|
Is there a reason why my screen would flash completely black for about = one secong when starting Dev-C++? It does this as if the screen = graphics settings are changing. It does this when starting the program, = and when going into the tools/compiler options menu. There seems to be = no other adverse effect, but this is not something that should be = happening. Nothing like this happens with any other program I have. I = have tried reinstalling and uninstalling with no sucess. Any ideas? = Thank you. |
|
From: Matt J. <mj...@gm...> - 2006-02-04 15:46:00
|
My personal diary is here about my trials and tribulations with this wonderful software. (which i happen to like and want to use, except for thi= s one bloody thing!!) http://sourceforge.net/forum/forum.php?thread_id=3D1433479&forum_id=3D48211 (all details are there) If anybody would care to offer something, anything to help be get beyond this, it would greatly be appreciated and you could have the warm and fuzzy feeling knowing that you potentially saved a masacre (or at least some very harsh words towards some random old lady) , because i'm --> <-- close to going POSTAL. It's not my fault that i'm retarded. We were all born with special qualitie= s and i'm exhibiting mine right now. Thanks in advance, Matt Jobson p.s. in reference to this : http://sourceforge.net/forum/forum.php?forum_id=3D448086 my exe is the correct one at " devcpp-4.9.9.2_setup.exe - 9,326,468 bytes". |
|
From: Mu T. <mu...@gm...> - 2006-02-03 16:23:10
|
Hi, Anybody can give me a sample or hint on how to make a dll using Dev C++ for VBA program? Thanks, Tian |
|
From: Denise V. <den...@gm...> - 2006-02-03 11:01:57
|
I have found the problem. I was trying to load a library passing the full path to the function LoadLibrary. The problem was that this specific library had other dependencies. So, when the dll tried to load the dependencies it was not possible because the path (the same path I have passed by parameter to the function) was not included in the search paths. To fix the problem I have to call SetCurrentDirectory before calling LoadLibrary function. I would like to use the function SetDllDirectory, but I couldn't. 2006/2/2, PH4U <pro...@gm...>: > Denise Vecino wrote: > > >Hi all, > > > > I'm in trouble with the LoadLibrary function. I call the > >LoadLibrary function passing the full path of the dll and it return > >null. The dll exist and I have already checked the path (it's > >everything correct). I saw in the MSDN documentation that I can use > >the function SetDllDirectory, to set the path of the dll and then call > >the LoadLibrary... But I cannot compile my project because I got the > >following error: > > > > > >'SetDllDirectory': identifier not found, even with argument-dependent lo= okup > > > > Has anyone used this function??? > > > > Does Anyone have any idea about why the LoadLibrary is returning null= ??? > > > > > If I remember correct, you have to have the DLL on your PATH to load the > DLL. > Try setting the PATH env variable to include the DLL. > > -- > http://www.programminghelp4u.com/ - Help on programming (C/C++, Java, C# = or any other programming language) for homework, assignments, course works = and projects > > |
|
From: Scott <fre...@ve...> - 2006-02-02 23:38:56
|
Hey, how can i create a template for Dev-C++ 4.9.9.2? Is it needed to = make my own .template file in a text editor, or can i save a project as = a template? How can i do that? File - New - Template Note a bug exists when making C templates as opposed to CPP templates... You will have to manually edit the template text file, and remove = references to .cpp files and change them to .c files for it to work correctly with = C files. |
|
From: Klaas M. <kla...@gm...> - 2006-02-02 16:05:53
|
Hey, how can i create a template for Dev-C++ 4.9.9.2? Is it needed to make my own .template file in a text editor, or can i save a project as a template? How can i do that? |
|
From: Hind F. <the...@ho...> - 2006-02-02 12:25:13
|
Hi everybody While developping a small project, the compiler give me this error C:\Dev-Cpp\2DFSoft 2.2\Makefile.win [Build Error] [lib/menu.o] Error 1 After reviewing the hole program I finally conclude that the error came from the #include <cassert> I add the library "../lib/libstdc++.a" in project's option section but still have the same error. It's the first time i'm working with the std on dev-cpp so if anyone have an idea I'll be very grateful. _________________________________________________________________ MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! http://www.msn.fr/newhotmail/Default.asp?Ath=f |
|
From: Noorez K. <lor...@ho...> - 2006-02-02 04:58:33
|
Using the FindWindow() function to get the title of a notepad window, i got its HWND, then sent WM_DESTROY message to that window and it closed. What message would i send, to tell the program to process something like Ctrl - S or Ctrl - P ? _________________________________________________________________ Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new MSN Search! Check it out! |
|
From: Alfred P. R. <al...@ya...> - 2006-02-01 23:31:49
|
BTW, this will be a big array, 10^6 addresses, x 8 bytes in Per's example. It will get ridiculous quickly. If n is the size of the dimension in the array, and there are d is the number of dimensions S = (n^d)*8, so by size, n, of 20, for 6 dimensions you'll be at 512MB and right around 2GB by size 25. Expect slow execution times at best. Per Westermark <pw...@ia...> wrote: Start by informing us if all dimensions are of fixed size, or if they should have dynamic size. For fixed size, this is enough: int my_array[10][10][10][10][10][10]; For dynamic size, a lot of extra code is needed, to allocate vector arrays of vector arrays of vector arrays of ... /Per W On Wed, 1 Feb 2006, sigit himawan wrote: > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. > Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. > thank you in advance. > > Himawan <snip> Alfred P. Reaud |
|
From: Daniel K. O. <dan...@ya...> - 2006-02-01 22:01:09
|
Denise Vecino wrote: > I'm in trouble with the LoadLibrary function. I call the > LoadLibrary function passing the full path of the dll and it return > null. The dll exist and I have already checked the path (it's > everything correct). Did you try using something like QuikView or Dependency Walker to check if the DLL can be loaded at all? Maybe it depends on a missing DLL, or on a symbol that isn't present in the current DLLs. --- Daniel K. O. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html |
|
From: Denise V. <den...@gm...> - 2006-02-01 20:55:09
|
Hi all, I'm in trouble with the LoadLibrary function. I call the LoadLibrary function passing the full path of the dll and it return null. The dll exist and I have already checked the path (it's everything correct). I saw in the MSDN documentation that I can use the function SetDllDirectory, to set the path of the dll and then call the LoadLibrary... But I cannot compile my project because I got the following error: 'SetDllDirectory': identifier not found, even with argument-dependent looku= p Has anyone used this function??? Does Anyone have any idea about why the LoadLibrary is returning null??? Thanks, Denise |
|
From: Eric E. <eri...@sb...> - 2006-02-01 19:30:46
|
We had some "crazy" projects in school, but this one beats them all. =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Dimiter Dimitrov Sent: Wednesday, February 01, 2006 12:51 PM To: dev...@li... Subject: Re: [Dev-C++] 6-dimensional Array =20 Hehehe, I also think this is for school or university project. I can = give you only one advise when you work with so big arrays. Be very careful because this arrays like yours take a lot of memory. On 2/1/06, sigit himawan <rms...@ya...> wrote: Hallo to all of you, =20 Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. Could any of you help me how to make 6-D array? I haven't seen any = examples of how to do this.=20 thank you in advance. =20 Himawan _____ =20 What are the most popular cars? Find out at Yahoo! <http://us.rd.yahoo.com/evt=3D38382/_ylc=3DX3oDMTEzNWFva2Y2BF9TAzk3MTA3MD= c2BHNlY wNtYWlsdGFncwRzbGsDMmF1dG9z/*http:/autos.yahoo.com/newcars/popular/thiswe= ek. html+%0A> Autos=20 --=20 Dimitar Dimitrov ICQ:106627618 Mobile Bulgaria: +359 898 633 704 (online now)=20 |
|
From: Per W. <pw...@ia...> - 2006-02-01 19:28:14
|
When the arrays gets too large and all cells doesn't contain any data, it's time to use sparse matrices, where the entry data is located through hashes. /pwm On Wed, 1 Feb 2006, Dimiter Dimitrov wrote: > Hehehe, I also think this is for school or university project. I can give > you only one advise when you work with so big arrays. Be very careful > because this arrays like yours take a lot of memory. > > On 2/1/06, sigit himawan <rms...@ya...> wrote: > > > > Hallo to all of you, > > > > Honestly, I am a newbie for programming. But now I have to make > > 6-dimensional array in my project. I am very confuse to implement this. > > Could any of you help me how to make 6-D array? I haven't seen any > > examples of how to do this. > > thank you in advance. > > > > Himawan > > > > ------------------------------ > > > > What are the most popular cars? Find out at Yahoo! Autos<http://us.rd.yahoo.com/evt=38382/_ylc=X3oDMTEzNWFva2Y2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMmF1dG9z/*http://autos.yahoo.com/newcars/popular/thisweek.html+%0A> > > > > > > > -- > Dimitar Dimitrov > ICQ:106627618 > Mobile Bulgaria: +359 898 633 704 (online now) > |
|
From: Dimiter D. <dim...@gm...> - 2006-02-01 18:50:41
|
Hehehe, I also think this is for school or university project. I can give you only one advise when you work with so big arrays. Be very careful because this arrays like yours take a lot of memory. On 2/1/06, sigit himawan <rms...@ya...> wrote: > > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make > 6-dimensional array in my project. I am very confuse to implement this. > Could any of you help me how to make 6-D array? I haven't seen any > examples of how to do this. > thank you in advance. > > Himawan > > ------------------------------ > > What are the most popular cars? Find out at Yahoo! Autos<http://us.rd.yah= oo.com/evt=3D38382/_ylc=3DX3oDMTEzNWFva2Y2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFnc= wRzbGsDMmF1dG9z/*http://autos.yahoo.com/newcars/popular/thisweek.html+%0A> > > -- Dimitar Dimitrov ICQ:106627618 Mobile Bulgaria: +359 898 633 704 (online now) |
|
From: Eric E. <eri...@sb...> - 2006-02-01 16:50:23
|
Just out of curiosity, is this for a school class project? =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of sigit himawan Sent: Wednesday, February 01, 2006 10:08 AM To: Per Westermark Cc: dev...@li... Subject: Re: [Dev-C++] 6-dimensional Array =20 Halo,=20 =20 Thank you for the reply. =20 The condition is like this: I have database which is already converted into .txt file. Inside this = .txt file has 6 parameters, these parameters should be classified into range = of classes. For example parameter A, it should be classified into range of classes = from 0-0.5, 0.5-0.8, 0.8-0.9, etc.=20 There are 30 classes for parameter A, 31 classes for parameter B, 24 = classes for parameter C, 21 classes for parameter D, and 2 other parameters shouldn't be classified because they are independent to time (the value doesn't change). And each parameter has different range of classes.=20 So, after classifying into the classes, we make the 6-Dimensional array. = So, I guess the dimensions of the size are fixed, if i am not mistaken, = they are the amount of classes for each parameter. How is it to programm the 6-D? I have additional question regarding how to sort the value of each parameters from .txt files to the classes. Please teach me or give me = the clue.=20 =20 thank you, =20 Himawan. Per Westermark <pw...@ia...> wrote: Start by informing us if all dimensions are of fixed size, or if they should have dynamic size. For fixed size, this is enough: int my_array[10][10][10][10][10][10]; For dynamic size, a lot of extra code is needed, to allocate vector = arrays of vector arrays of vector arrays of ... /Per W On Wed, 1 Feb 2006, sigit himawan wrote: > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this.< BR>> Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. > thank you in advance. > > Himawan > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos =20 _____ =20 What are the most popular cars? Find out at Yahoo! <http://us.rd.yahoo.com/evt=3D38382/_ylc=3DX3oDMTEzNWFva2Y2BF9TAzk3MTA3MD= c2BHNlY wNtYWlsdGFncwRzbGsDMmF1dG9z/*http:/autos.yahoo.com/newcars/popular/thiswe= ek. html%20%0d%0a> Autos=20 |
|
From: sigit h. <rms...@ya...> - 2006-02-01 16:08:21
|
Halo, Thank you for the reply. The condition is like this: I have database which is already converted into .txt file. Inside this .txt file has 6 parameters, these parameters should be classified into range of classes. For example parameter A, it should be classified into range of classes from 0-0.5, 0.5-0.8, 0.8-0.9, etc. There are 30 classes for parameter A, 31 classes for parameter B, 24 classes for parameter C, 21 classes for parameter D, and 2 other parameters shouldn't be classified because they are independent to time (the value doesn't change). And each parameter has different range of classes. So, after classifying into the classes, we make the 6-Dimensional array. So, I guess the dimensions of the size are fixed, if i am not mistaken, they are the amount of classes for each parameter. How is it to programm the 6-D? I have additional question regarding how to sort the value of each parameters from .txt files to the classes. Please teach me or give me the clue. thank you, Himawan. Per Westermark <pw...@ia...> wrote: Start by informing us if all dimensions are of fixed size, or if they should have dynamic size. For fixed size, this is enough: int my_array[10][10][10][10][10][10]; For dynamic size, a lot of extra code is needed, to allocate vector arrays of vector arrays of vector arrays of ... /Per W On Wed, 1 Feb 2006, sigit himawan wrote: > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. > Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. > thank you in advance. > > Himawan > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos --------------------------------- What are the most popular cars? Find out at Yahoo! Autos |
|
From: <au...@gm...> - 2006-02-01 15:58:30
|
Hi,
> Honestly, I am a newbie for programming. But now I have to make
> 6-dimensional array in my project. I am very confuse to implement this.
> Could any of you help me how to make 6-D array? I haven't seen any
> examples of how to do this.
This would look pretty nice :)
type array[size][size][size][size][size][size];
Even more nice it looks when creating array on free store:
type ******array = new type*****[size];
for(int i = 0; i < size; ++i)
array[i] = new type****[size];
for(int i = 0; i < size; ++i)
for(int j = 0; j < size; ++j)
array[i][j] = new type***[size];
and so on :)
Also don't forget to delete it after all :)
I think this is enaugh for understanding it.
/Aurimas
|
|
From: Per W. <pw...@ia...> - 2006-02-01 15:07:25
|
Start by informing us if all dimensions are of fixed size, or if they should have dynamic size. For fixed size, this is enough: int my_array[10][10][10][10][10][10]; For dynamic size, a lot of extra code is needed, to allocate vector arrays of vector arrays of vector arrays of ... /Per W On Wed, 1 Feb 2006, sigit himawan wrote: > Hallo to all of you, > > Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. > Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. > thank you in advance. > > Himawan > > > --------------------------------- > > What are the most popular cars? Find out at Yahoo! Autos |
|
From: sigit h. <rms...@ya...> - 2006-02-01 14:35:51
|
Hallo to all of you, Honestly, I am a newbie for programming. But now I have to make 6-dimensional array in my project. I am very confuse to implement this. Could any of you help me how to make 6-D array? I haven't seen any examples of how to do this. thank you in advance. Himawan --------------------------------- What are the most popular cars? Find out at Yahoo! Autos |
|
From: Jarren L. <vb...@gm...> - 2006-02-01 05:35:55
|
Ok, I'm trying to write a basic IDE (inspired by Dev C++, of course) for Z8= 0 ASM that I can use to write TI-Graphing Calculator programs. I'm using TASM as a compiler, and I need to get the handle of the .exe file, so that I can report the compiler's output errors through my IDE. i tried using MSDN, but I can't figure out how to get the executable's handle. I tried using CreateProcess() and LoadModule(), but, though they have the syntax documented, I don't really know what I need to do to use them right. Can someone write me up a short sample on how to get an executable file's handle? I'd really appreciate it! This is what I want to do: 1.) Take inputted file and pass it to tasm.exe & compile it 2.) IF there are any compilation errors, I want to do the same kind of thin= g that Dev C++ does, and report the errors in a table or edit box of some sort. Cheers! -- Jarren L. |
|
From: Wolfgang W. <W.W...@as...> - 2006-01-26 09:16:39
|
Hi Per, On 26 Jan 2006 at 1:07, Per Westermark wrote: > Important note: When M$ are involved, there can be no standard but what M$ > does for the moment :) I forgot about that for a moment... 8-) [...] > This is a nice link to read: > http://aegisknight.org/cppinterface.html Thank you very much! This looks very interesting, because it seems I might be able to create an interface using VC++ following these hints. I hope I will find the time to try it, at least. Regards, Wolfgang |
|
From: Per W. <pw...@ia...> - 2006-01-26 00:07:15
|
Important note: When M$ are involved, there can be no standard but what M$ does for the moment :) The ABI (Application Binary Interface) is something that must be specified for each and every target platform (OS and processor architecture) supported, i.e. it can normally not be the same between different platforms. Life is simple when the OS is written in C++ - then the OS manufacturer have already decided what ABI there should be. The current Windows releases are written with C interfaces and the future Windows releases will have .NET interfaces... This is a nice link to read: http://aegisknight.org/cppinterface.html One more little link: https://pyre.virge.net/cgi-bin/info2www?(gcc)Compatibility /Per W On Thu, 26 Jan 2006, Wolfgang Wegner wrote: > Hi, > On Wed, Jan 25, 2006 at 07:03:23PM +0100, Per Westermark wrote: > > When using C++ libraries, I would recommend you to use the same > > compiler that was used when creating the libraries. > > > > For C++, there is no single standard for the memory layout of data > > objects, the placement of virtual method tables, the name mangling etc. > > I almost can't believe it - if C++ is such a non-standardized crap^H^H^Hthing, > why does anybody use it at all? > > Or, another question, there are so many .dll's out there, how about > these? Are these only C interfaces, or are there other conventions > taken for compatibility? > If so, would it be useful to ask the original authors if I can > get a .dll version of the library? > > > /Per W > > Regards, > Wolfgang > > > > > On Wed, 25 Jan 2006, Wolfgang Wegner wrote: > > > > > Dear list members, > > > > > > I am quite new to windows and C++ programming (did quite much C under > > > unix up to now). > > > > > > My task is to write a program using a proprietary C++-API (device > > > driver) which I only have in a binary version for VC6 or VS.net. I > > > can compile using VC6, but would like to switch to Dev-C++ or plain > > > MinGW/gcc. However, when linking against the library, I always get > > > "undefined references" for the methods contained in the library. > > > > > > I tried converting the library using reimp, but apart from that it > > > works other than expected (it gives me a bunch of object files that I > > > can then again put together to a library using ar) this does not make > > > any difference. > > > > > > The API in question can be found here: > > > http://www.dektec.com/Downloads/Drivers.asp > > > (same results with both VC6 and VS.NET version). > > > > > > My program is at the moment a modified version of "DtRecord" on the > > > page "utilities", to get started. > > > > > > As already said, everything works fine with VC6, but I really would > > > like to move to gcc for using GTK+ and other stuff... I am using dev- > > > C++ 4.9.9.2 in the "full" version (including MinGW). > > > > > > I am not sure if it is really a "typical" VC++ problem or simply a > > > difference in calling convention - but in the latter case, I have > > > even less clue about how to get around it. Here an example nm output > > > of the Symbol TsOutpChannel::SetTsRateBsp: > > > My_Example.o: > > > U __ZN13TsOutpChannel12SetTsRateBpsEii > > > DTAPI.lib: > > > 00000000 T ?SetTsRateBps@TsOutpChannel@@QAEKHH@Z > > > For me it looks really strange, but I have absolutely no idea about > > > symbol names in C++, so maybe somebody else can say more seeing these > > > symbols... > > > > > > In case I left out some important information, please let me know. > > > > > > Regards, > > > Wolfgang > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > |