Help! _VtblGapPlaceHolder1() added during preprocessing

windows 64bit

    Sponsored Links

    Next

  • 1. How do I do an install if I need SATA drivers and I have no floppy drive?
    I don't want to have to purchase a floppy drive just for install of SATA drivers. Can I use a memory stick for the install? Will it be recognized? Other options? Thanks Ken K
  • 2. Wireless adapter with 64-bit driver, wireless or USB?
    I don't care whether the adapter is bus-mounted or USB. Who makes a decent wireless adapter with a 64-bit driver? Thanks Ken
  • 3. PCIIDEX.SYS BSOD
    Awhile back when clean installing Vista 64 I was getting a pciidex.sys BSOD towards the end of the install. I have done a few clean installs and sometimes it does it and sometimes it doesn't, I think it started doing this when I started installing Vista 64 with SP-1. I thought it maybe the IDE DVDRW drive I was using to install but it is also happening using a SATA DVDRW drive, now that I have a new computer it has no IDE connections on the X38 motherboard so I have ruled out the drives as being the cause of the problem, the pciidex.sys is the PCI IDE Bus Driver Extension described my Microsoft, someone at one stage pointed me to a patch but it is pointless when this happens on completion of a clean install. Just wondering what is actually causing this problem. Thanks

Help! _VtblGapPlaceHolder1() added during preprocessing

Postby yezdived » Fri, 10 Mar 2006 13:01:43 GMT

Hi,
Yet another problem of different behavior exhibited when building on
Win2k and XP.
Using AMD64 environment (Windows 2003 SDK SP1-April2005 edition - /XP64
/RETAIL options set)  and VS2003 IDE to compile a file.
 This cpp file is importing a typelibrary like this:

#import "COMLib.tlb"
//.... code
//.... code

When I compile this file in Win2k and generate preprocessor output (/P
option), I see that for an interface definition, two extra methods are
being added (_VtblGapPlaceHolder1( ) and 2..)

struct __declspec(uuid("4730c519-8998-43f6-993b-80befea1d404"))
ITCSpecific : IUnknown
{
    HRESULT GetUserKey(/* removed params */ );
    HRESULT ReleaseSpace ( );
    HRESULT WriteValue (/*removed params*/ );


      virtual HRESULT _VtblGapPlaceholder1( ) { return
((HRESULT)0x80004001L); }
      virtual HRESULT _VtblGapPlaceholder2( ) { return
((HRESULT)0x80004001L); }
      virtual HRESULT __stdcall raw_GetUserKey ( /*deleted other
params*/ ) = 0;
      virtual HRESULT __stdcall raw_ReleaseSpace ( ) = 0;
      virtual HRESULT __stdcall raw_WriteValue (/*deleted params*/ ) =
0;
};

Under same conditions on Win XP SP2 however, the preprocessor output
does not have these PlaceHolder methods. And my server dll was built on
XP SP2.

:( so when I build client on Win2K, method invocation is messing up due
to extra 16 bytes added to  vtbl offset because of PlaceHoler()
methods. and so instead of invoking GetUserKey(), WriteValue() gets
invoked.

WHY, WHY!! Why is the compiler behaving differently on Win2k and Win XP
SP2. What brings in _vtblGapPlaceHolder1() methods??? I can't ship my
SDK code until it is buildable from Win2K and XP SP2 targeted to 64-bit
environment. :((

ved


Re: Help! _VtblGapPlaceHolder1() added during preprocessing

Postby Andre Da Costa [Extended64] » Fri, 10 Mar 2006 14:14:43 GMT

Its probably best if you post this issue to:
microsoft.public.vsnet.general
microsoft.public.vsnet.debugging
-- 
-- 
Andre
Windows Connect |  http://www.**--****.com/ 
Extended64 |  http://www.**--****.com/ 
Blog |  http://www.**--****.com/ 
 http://www.**--****.com/ 








Similar Threads:

1.Preprocessing input

I'm using the encoder to send our church service to the local AM station for 
broadcast. 
The mikes/mixer/cabling/etc. is fairly old and somewhat rigged and I have a 
bad 60hz hum in the input that I haven't been able to get rid of. 
Is there any way I can put a filter before the encoder so that I can filter 
our the buzz? If so, what kind of filter would be best to use?
Thanks

2.HHEELLPP preprocessing

I want to encode avi file (640x480 25fps uncompressed interlaced) into wmv 
(320x240 25fps)
I use command -v_preproc 2 this should deinterlace and halve the size. The 
problem is when the encoder starts it shows "Preprocessing mode not 
supported. Use -height and -width"
I tried to set width and height and the same problem.... I call a profile in 
the command line which is a multiple bitrate...

3.Preprocess and WriteSample

Does anyone know if it is possible to preprocess and then write a sample 
before moving on to the next sample?    i.e., do i need to preprocess the 
whole file before i can write samples?

I'm reading the source file from a very slow access point so reading the 
file once would save a lot of time.

-- 
-imran 


4.Preprocessing a file

Hi,

How Can I Preprocess files of a driver in Windows CE. How I will get the 
Preprocessed output?

Thanks
San

5.can i preprocess text for ssis?

as background, i have a conditional split transform in front of several 
derived columns, the condition is based on what characters appear at position 
60 in each line. this was needed because the state changed the file format, 
but the files are all stored in a shared way, we cant move or change them. 
there are 440 files of several hundred thousand lines, so inspection is not 
a possibiltiy, the spec was fine for spelling out the 'switch' characters for 
most of the files, but we'd like to do kind of a select distinct to show each 
character at position sixty for each line in each file, so we are sure that 
the conditional split transform has accounted for all the switch characters, 
because we suspect that there are other characters in that position that we 
need to trap, (they dont error, but they dont find a home in the distribution 
either) but dont want to sort though all the text files to find the unknown 
character(s) at position sixty.

the other thing is related, but on different text files from the unix side 
of the house, to be able to insert a CRLF at position 1201 in a file that has 
no line feeds, it just one giant line, so we can chop it into 1200 byte size 
lines each. i am sick of them telling me to open it in wordpad to fix it, and 
that gets old fast too.
i have no idea how to go about doing these two jobs, but they would really 
move the rock.
thanks very much
drew

6. Update - Help please - Windows Help files search during Desktop l

7. Update - Help please - Windows Help files search during Desktop load at bootup

8. Can't add new account/ user HELP HELP HELP!!!!!!



Return to windows 64bit

 

Who is online

Users browsing this forum: No registered users and 79 guest