Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNevermind <slap self> Pin
Boris Russel6-Jan-04 13:12
Boris Russel6-Jan-04 13:12 
GeneralMinimizing window Pin
Anonymous6-Jan-04 12:16
Anonymous6-Jan-04 12:16 
GeneralRe: Minimizing window Pin
PJ Arends6-Jan-04 12:38
professionalPJ Arends6-Jan-04 12:38 
GeneralCFileDialog sorting/settings Pin
MaxHacker6-Jan-04 11:54
MaxHacker6-Jan-04 11:54 
GeneralRe: CFileDialog sorting/settings Pin
David Crow7-Jan-04 2:59
David Crow7-Jan-04 2:59 
GeneralRe: CFileDialog sorting/settings Pin
MaxHacker7-Jan-04 3:34
MaxHacker7-Jan-04 3:34 
GeneralRe: CFileDialog sorting/settings Pin
David Crow7-Jan-04 3:56
David Crow7-Jan-04 3:56 
Generaltrinking iterface calls mscc++ 2 g++ Pin
suiram406-Jan-04 11:39
suiram406-Jan-04 11:39 
I have interfaces definitions.
I have implemented them in dll's
These dll's worked as cutom plugins. Usually they were build by msvc.
Each dll exported 3 function, GetIterfacesCLSIDS()/Create(CLSID)/Destroy(CLSID). It woked superb when both (client, plug in were buld by msvc compiler)
or both with mingw compiler.
The client now has growned and I'm using massive MFC (has lot's of gui and u knw is easy).

Now I try to build the dll's on demand (as compiled script)
and I use free gcc (g++) from (Mingw) C++ compiler and dlltool.
The dll is oj, and exported functions are called and my instances created ok.
Now I get 'ESP was not saved corectly durring a ... see the call type'
So is not the call type. As long the object imlementor of the interface is created my dll and the virtual table layout is different than the msvc.

Msvc vtable is
PObject->PVtable->[Vf1][Vf2]..[Vfk]
while

mingw vtable is
PObject->[Vf1][Vf2]..[Vfk]


So there is a missing intermdiare [PVtable] pointer there. Does any one know how to hack the calls using trunks or __asm (back and forward)
these ? ThanksCry | :((


GeneralRe: trinking iterface calls mscc++ 2 g++ Pin
suiram406-Jan-04 12:21
suiram406-Jan-04 12:21 
GeneralAnother question...MFC this time! Pin
Alberto836-Jan-04 11:35
Alberto836-Jan-04 11:35 
GeneralRe: Another question...MFC this time! Pin
Anonymous6-Jan-04 11:47
Anonymous6-Jan-04 11:47 
GeneralRe: Another question...MFC this time! Pin
Alberto836-Jan-04 20:32
Alberto836-Jan-04 20:32 
GeneralCObArray and memory fragmentation Pin
Haakon S.6-Jan-04 11:29
Haakon S.6-Jan-04 11:29 
GeneralRe: CObArray and memory fragmentation Pin
Christian Graus6-Jan-04 11:56
protectorChristian Graus6-Jan-04 11:56 
QuestionHow do they do that? Pin
Anonymous6-Jan-04 11:22
Anonymous6-Jan-04 11:22 
AnswerRe: How do they do that? Pin
ZoogieZork6-Jan-04 13:59
ZoogieZork6-Jan-04 13:59 
AnswerRe: How do they do that? Pin
shultas6-Jan-04 15:37
shultas6-Jan-04 15:37 
GeneralOpening COM port on USB/PCMCIA converter Pin
BambooMoon6-Jan-04 10:02
BambooMoon6-Jan-04 10:02 
GeneralRe: Opening COM port on USB/PCMCIA converter Pin
BambooMoon6-Jan-04 11:12
BambooMoon6-Jan-04 11:12 
Generalreceive information from DOS application Pin
mryazdani6-Jan-04 9:49
mryazdani6-Jan-04 9:49 
GeneralRe: receive information from DOS application Pin
Alexander M.,7-Jan-04 4:06
Alexander M.,7-Jan-04 4:06 
Questionstarting windows 2000 from dos?? Pin
IGeorgeI6-Jan-04 9:28
IGeorgeI6-Jan-04 9:28 
AnswerRe: starting windows 2000 from dos?? Pin
Selvam R6-Jan-04 19:27
professionalSelvam R6-Jan-04 19:27 
GeneralIcon Problem Visual C++ Pin
Alberto836-Jan-04 9:04
Alberto836-Jan-04 9:04 
GeneralRe: Icon Problem Visual C++ Pin
David Crow6-Jan-04 9:12
David Crow6-Jan-04 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.